< previous page page_100 next page >

Page 100
form and around palettes and frames. Because border widths should be set at 120 twips, make sure that you can see two grid dots between the edge of the form and the edge of any other control (panel, command button, and so on).
· Remember that controls should be separated from each other by at least 90 twips. The value of 90 twips is an odd value when compared to the 60 twips between items and the 120 twips between borders. This odd spacing causes the user to break up the sections of the form a bit. This makes it easy for the user to see the separation between controls. When placing controls in a vertical line, use the Top property to determine where the control appears on the form. Because each control is 330 twips in height and the controls must be 90 twips apart, add 420 twips (330 + 90) to the Top value to determine where the next control should appear underneath.

0100-01.jpg
Figure 4.12.
The color-switching project.
Table 4.3. Controls for the Color-Switching project.
ControlPropertySetting
FormCaptionColor-Switching
NamefrmColor
SSPanelCaption(set to blank)
NamepnlPalette
Text boxNametxtOneLine
FontBoldFalse
Height300
Width1800
SSPanelNamepnlDisplayOnly
FontBoldFalse

(table continued on next page)

 
< previous page page_100 next page >

If you like this book, buy it!